splitByBox(double,double,boolean) Method
In This Topic
Gets the formatted content that fits in the given box.
This method modifies the current object, the formatted content that fits the given box is removed from current object and returned as a new object.
If this method is called multiple times but with a different width then the 'updateParagraphs' parameter should be set to true.
Syntax
Parameters
- width
- The box width.
- height
- The box height.
- updateParagraphs
- If true, the list of paragraphs is also updated to reflect the split.
Return Value
The formatted content that fits in the given box.
See Also